package cn.example.vip.mall.seckill;

import cn.example.vip.mall.seckill.config.RedisLock;
import cn.example.vip.mall.seckill.feign.SeckillGoodsFeign;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackageClasses = {
	SeckillGoodsFeign.class,
	RedisLock.class
})
@MapperScan(basePackages = "cn.example.vip.mall.seckill.mapper")
@SpringBootApplication
public class MallSeckillApplication {
	public static void main(String[] args) {
		SpringApplication.run(MallSeckillApplication.class, args);
	}
}
